From: Colin Walters Date: Mon, 16 Feb 2015 15:29:14 +0000 (-0500) Subject: tests: Restore accidentally deleted Makefile bit X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~917 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c2d439f115abc45aacdb3bc4b590816e0c3155c4;p=ostree.git tests: Restore accidentally deleted Makefile bit Not sure how this got deleted... --- diff --git a/Makefile-tests.am b/Makefile-tests.am index 42d1be7d..82df821d 100644 --- a/Makefile-tests.am +++ b/Makefile-tests.am @@ -87,6 +87,12 @@ INSTALL_DATA_HOOKS += install-gpg-data-hook echo 'Output=TAP' >> $@.tmp; \ mv $@.tmp $@) +%.test: tests/%.js Makefile + $(AM_V_GEN) (echo '[Test]' > $@.tmp; \ + echo 'Exec=env TESTDATADIR=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$(notdir $<)' >> $@.tmp; \ + echo 'Type=session' >> $@.tmp; \ + mv $@.tmp $@) + if BUILDOPT_GJS insttest_SCRIPTS += tests/test-core.js \ tests/test-sizes.js \